﻿@model GsifWeb4.ViewModels.TeamViewModel


<h2>Spelartruppen för @ViewBag.TeamName</h2>
<table class ="table table-striped table-condensed">
@{Html.RenderPartial("_PlayersList", Model.Coaches, new ViewDataDictionary{ {"header",  "Tränare"}});}

@{Html.RenderPartial("_PlayersList", Model.Defenders, new ViewDataDictionary{ {"header",  "Försvar"}});}

@{Html.RenderPartial("_PlayersList", Model.Midfielders, new ViewDataDictionary{ {"header",  "Mittfält"}});}

@{Html.RenderPartial("_PlayersList", Model.Forwards, new ViewDataDictionary{ {"header",  "Anfall"}});}
    
    </table>